/** Part of Zombie Navigator
	Copyright © 2016  Zombie Navigator Developers
	
	@file
	@module
	@license AGPL-3.0+
	
*/ 'use strict';


/* Used modules */
const _pSandbox = require('../platform/sandbox');
const _pBrowserWindow = require('../platform/browser-window');


/** @public */
const stopAll = () => {
	// XXX: Unreliability due to being asychronous
	_pSandbox.unloadAllSandboxes();
	_pBrowserWindow.closeAllWindows();
};


/* Exports */
exports.stopAll = stopAll;


// vim: ts=4 noet ai

